﻿using System.Web;

namespace SpiderMaster.AspNet
{
    public sealed partial class TradingCenterHttpApplication
    {
        /// <summary> Called when [begin request].
        /// </summary>
        /// <param name="Source">The source.</param>
        public static void OnBeginRequest(object Source)
        {
            //HttpApplication app = (HttpApplication)Source;
            //HttpContext context = app.Context;
            // Attempt to peform first request initialization
            FirstRequestInitialization.Initialize((HttpContext)((HttpApplication)Source).Context);
        }
    }
}
